<?php
namespace app\common\model\lives;
use think\Model;

class Delivery extends Model {
    protected $dbName = 'activity';
protected $connection = ['database' => 'activity'];


      public function getdelivery(){
        $res = $this->setTable('sales_channel')->field('id,channel_name,status')->select();
        return $res;
    }
    public function add_delivery($param){
        $res = $this->setTable('delivery')->insertGetId($param);
    }
}